package paas.storage.dto;


/**
 * 数据查询结果
 *[{"row_key":value, "columnfamily":value,"column":value,
 * "value":value_new,"info":value}}
 * @author xufeng
 * @email 525207937@qq.com
 * @date 2021/2/2 11:14
 */
public class DataQueryVo {
    /**
     * key
     */
    private String row_key;
    /**
     * 列簇
     */
    private String columnfamily;
    /**
     * 列
     */
    private String  column;
    /**
     * 值
     */
    private String value;
    /**
     * 扩展
     */
    private String  info;
    /**
     * 时间戳 版本号
     */
    private String  version;

    public DataQueryVo() {
    }

    public DataQueryVo(String row_key, String columnfamily, String column, String value, String info, String version) {
        this.row_key = row_key;
        this.columnfamily = columnfamily;
        this.column = column;
        this.value = value;
        this.info = info;
        this.version = version;
    }

    public String getRow_key() {
        return row_key;
    }

    public void setRow_key(String row_key) {
        this.row_key = row_key;
    }

    public String getColumnfamily() {
        return columnfamily;
    }

    public void setColumnfamily(String columnfamily) {
        this.columnfamily = columnfamily;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "DataQueryVo{" +
                "row_key='" + row_key + '\'' +
                ", columnfamily='" + columnfamily + '\'' +
                ", column='" + column + '\'' +
                ", value='" + value + '\'' +
                ", info='" + info + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
